Skip to content

Conversation

@sardok
Copy link
Contributor

@sardok sardok commented Oct 29, 2025

This PR intends to merge fortanixvme-2023-05-07-alpha into master.

@sardok sardok requested a review from raoulstrackx November 14, 2025 14:48
raoulstrackx
raoulstrackx previously approved these changes Nov 17, 2025
sha256: &'static str,
}

const BLOBS: [Blob; 5] = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: It'd make sense if you moved this BLOBS definition (or only its components) to aws-nitro-blobs and rename this crate into verified-downloader or something better. That way it can be easily re-used.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed aws-nitro-blobs-downloader completely.

raoulstrackx
raoulstrackx previously approved these changes Nov 18, 2025
.build()
.expect("Unable to initialize downloader");

let mut lines = Vec::with_capacity(NITRO_BLOBS.len());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: the capacity is certainly incorrect it NITRO_BLOBS.len() will just return 5, but you need way more space than that. I'd just use the default capacity. (You could also just write things to file directly, without using this Vec)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I simplified this file. it doesn't collect all lines in advance now. It just writes a line as a blob becomes ready.

@sardok sardok requested a review from raoulstrackx November 18, 2025 12:23
@sardok sardok added this pull request to the merge queue Nov 18, 2025
Merged via the queue into master with commit 5dca7b2 Nov 18, 2025
1 check passed
@sardok sardok deleted the sinan/rte-606-merge-fortanixvme-branch branch November 18, 2025 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants